<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="../asset/lib/layui/css/layui.css">

</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">修改密码</div>
        <div class="layui-card-body">
            <!-- 表单区域 -->
            <!-- form 表单区域 -->
            <form class="layui-form" lay-filter="f1" id="form">
                <!-- 第一行: 原来密码 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">原密码</label>
                    <div class="layui-input-block">
                        <input type="password" name="oldPwd" required lay-verify="required" placeholder="请输入原密码"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <!-- 第二行：新密码 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">新密码</label>
                    <div class="layui-input-block">
                        <input type="password" name="newPwd" required lay-verify="required|diff" placeholder="请输入新密码"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <!-- 第三行：确认密码 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">确认密码</label>
                    <div class="layui-input-block">
                        <input type="password" required lay-verify="required |same" placeholder="请输入确认密码"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <!-- 第四行：提交按钮 -->
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <!-- 提交按钮 -->
                        <button class="layui-btn" lay-submit lay-filter="formDemo">修改密码</button>
                        <button type="reset" class="layui-btn layui-btn-primary" id="btnReset">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

</body>
<script type="text/javascript" src="../asset/lib/jquery.js"></script>
<script type="text/javascript" src="../asset/js/common.js"></script>
<script type="text/javascript" src="../asset/lib/layui/layui.all.js"></script>
<script type="text/javascript" src="../asset/js/reset-pwd.js"></script>

</html>